<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        <!--
        ul {
            list-style: none;
            padding: 0px;
            margin: 0px;
            width: 590px;
            height: 20px;
            line-height: 20px;
            border: 1px solid #99CC00;
            border-top: 0px;
            font-size: 12px;
        }

        ul li {
            display: block;
            width: 33%;
            float: left;
            text-indent: 2em
        }

        .th {
            background: #F1FADE;
            font-weight: bold;
            border-top: 1px
        }

        -->
    </style>
</head>
<body align="center">
<div>
    <ul class="th">
        <li>id</li>
        <li>name/mobile</li>
    </ul>
    @for(user in list){
    <ul>
        <li>${user.id}</li>
        @if(hasAttribute(user,"username")){
        <li>${user.username!"no usernmae"}</li>
        @}else{
        <li>${user.mobile!"no mobile"}</li>
        @}
    </ul>
    @}
</div>
</body>
</html>